*{
    margin: 0;
    padding: 0;
}
:root,body,.box{
    height: 100%;
}
:root{
    font-size: 32vw;
}
body{
    font-size: 0.07rem;
}
.box{
    display: flex;
    flex-direction: column;

}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #000;
}
main{
    overflow: auto;
    /* 中间部分可以滑动 */
    flex: 1;
}
header{
    height: 0.42rem;
    background-color: #1d6dff;
    display: flex;
    justify-content: space-between;
    color: white;
    align-items: center;
    padding: 0 0.08rem;
    font-size: 0.17rem;
}
header span:nth-of-type(2){
    font-weight: 900;
}
header p{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0.04rem;
font-size: 0.2rem;
}
header p  span{
    font-size: 0.05rem;
    transform: scale(.5);
}
main>ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.17rem;
    li{
        padding: 0.42rem 0.07rem 0.08rem;
        border: 1px solid #ccc;
        width: 1.56rem;
        text-align: center;
        box-sizing: border-box;
        a{
            
            height: 2.02rem;
            img{
                width: 1.17rem;
                height: 1.17rem;
            }
            .title{
                margin: 0.04rem 0;
                font: normal 16px 'Microsoft yahei';
                text-align: left;
            }
            .price{
                margin-bottom: 0.08rem;
                color:#1d6dff;
                font-size: 0.13rem;
            }
            .from{
                color: #9d9d9d;
                font-size: 0.11rem;
                margin-bottom: 0.08rem;
            }
        }
    }
}

main .pub1 ul {
    display: flex;
    height: 0.28rem;
    line-height: 0.28rem;
    text-align: center;
    font-size: 0.12rem;
    color: #666;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0 0.08rem;
    justify-content: space-between;
  }
  
  main .pub1 ul li {
    border-right: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
  }
  
  main .pub1 ul li:first-of-type {
    width: 0.78rem;
  }
  
  main .pub1 ul li:nth-of-type(2) {
    width: 1.04rem;
  }
  
  main .pub1 ul li:nth-of-type(3) {
    width: 1.3rem;
    border-right: none;
  }
  
  main .last {
    padding: 0.08rem;
    font-size: 0.11rem;
    color: #666;
    text-align: center;
  }
  
  main .last p:first-child {
    margin-bottom: 0.08rem;
  }